<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="popup.css" rel="stylesheet">
    <script src="jquery.min.js" type="application/javascript"></script>
    <script src="jquery.popup.js" type="application/javascript"></script>

    <script>


        $(function(){
            var options={
                content:'是否确定？',//弹出框的内容
                type:'',//弹出框的类型
                conBtn:'确定',//确定按钮
                canBtn:'取消',//取消框按钮
                conFun:'aaa()',
                canFun:'closeDialog()'
            };
            $('body').popup(options);
        })
        function  closeDialog(){
            $('.mask,.popup_dialog_box').remove();
        }
    </script>
</head>
<body>
<div id="aaa">dddddd</div>
</body>
</html>